package com.woniuxy.demo.epai.controller.form;


import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class MypageForm<D> implements Serializable {
    private List<D> list;
    private int pageindex=1;
    private int pagecount;
    private int pagesize=3;

    public MypageForm(List<D> list, int pageindex, int pagecount, int pagesize) {
        this.list = list;
        this.pageindex = pageindex;
        this.pagecount = pagecount;
        this.pagesize = pagesize;
    }

    public MypageForm() {
    }
}
